package com.hncboy.chatgpt.base.util;

import lombok.experimental.UtilityClass;

import java.util.Date;

@UtilityClass
public class DateUtil {

    public static Date offsetDay(Date date, int day) {
        return cn.hutool.core.date.DateUtil.offsetDay(date, 1);
    }
    public static Date offsetMonth(Date date, int day) {
        return cn.hutool.core.date.DateUtil.offsetMonth(date, 1);
    }

}
